import { meshLog } from "../config";

//改时间格式
export const formatDateSlashes = (isoDateString) => {
  //meshLog('isoDateString', isoDateString);
  let time = isoDateString;
  time = time.replace(/-/, '/')
  time = time.replace(/-/, '/')
  time = time.replace(/T/, '/')
  time = time.replace(/: /, '/')
  time = time.replace(/: /, '/')
  time = time.split('.')
  return time[0];
}
